package com.ruoyi.project.business.punch.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalTime;


@Data
public class PunchOfDayRequest implements Serializable {

    private Long id;
    /**
     * 每天打卡的顺序 1， 2， 3， 4
     */
    private Integer punchSort;

    @JsonFormat(pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime clockTimeStart;

    @JsonFormat(pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime clockTimeEnd;
}
